+Sun Sep 2 17:38:42 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from
+ vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct
+ time, #59727
+
+ * gtk/gtkbutton.c (gtk_button_update_state): Get depressed
+ correctly.
+
Sun Sep 2 21:41:21 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial
+Sun Sep 2 17:38:42 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from
+ vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct
+ time, #59727
+
+ * gtk/gtkbutton.c (gtk_button_update_state): Get depressed
+ correctly.
+
Sun Sep 2 21:41:21 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial
+Sun Sep 2 17:38:42 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from
+ vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct
+ time, #59727
+
+ * gtk/gtkbutton.c (gtk_button_update_state): Get depressed
+ correctly.
+
Sun Sep 2 21:41:21 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial
+Sun Sep 2 17:38:42 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from
+ vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct
+ time, #59727
+
+ * gtk/gtkbutton.c (gtk_button_update_state): Get depressed
+ correctly.
+
Sun Sep 2 21:41:21 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial
+Sun Sep 2 17:38:42 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from
+ vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct
+ time, #59727
+
+ * gtk/gtkbutton.c (gtk_button_update_state): Get depressed
+ correctly.
+
Sun Sep 2 21:41:21 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial
+Sun Sep 2 17:38:42 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from
+ vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct
+ time, #59727
+
+ * gtk/gtkbutton.c (gtk_button_update_state): Get depressed
+ correctly.
+
Sun Sep 2 21:41:21 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial
+Sun Sep 2 17:38:42 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_deleted): Patch from
+ vishnu@pobox.com (Joshua N Pritikin) to emit signal at the correct
+ time, #59727
+
+ * gtk/gtkbutton.c (gtk_button_update_state): Get depressed
+ correctly.
+
Sun Sep 2 21:41:21 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkkeys-x11.c (update_keymaps): Set current serial
gtk_grab_remove (widget);
button->button_down = FALSE;
+
gtk_button_update_state (button);
if (do_it)
gboolean depressed;
GtkStateType new_state;
- depressed = button->in_button && button->button_down;
-
+ depressed = button->button_down && (button->in_button || button->activate_timeout);
+
if (!button->button_down && button->in_button)
new_state = GTK_STATE_PRELIGHT;
else
GtkRBTree *tree;
GtkRBNode *node;
GList *list;
+ gint selection_changed;
g_return_if_fail (path != NULL);
gtk_tree_row_reference_deleted (G_OBJECT (data), path);
/* Change the selection */
- if (GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_SELECTED))
- g_signal_emit_by_name (G_OBJECT (tree_view->priv->selection), "changed");
+ selection_changed = GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_SELECTED);
for (list = tree_view->priv->columns; list; list = list->next)
if (((GtkTreeViewColumn *)list->data)->visible &&
}
_gtk_tree_view_update_size (GTK_TREE_VIEW (data));
+
+ if (selection_changed)
+ g_signal_emit_by_name (G_OBJECT (tree_view->priv->selection), "changed");
}